
// 移除所有的广告节
const removeAllAdvDom =()=>{
    fixeddomall = function(){
        console.log("拦截");
    };
    fixedinit = undefined;
    //"#HMCOVER_ID1",
    let blackdoms = [
        "#HMRichBox",
        "#fix_bottom_dom",
        ".foot",
        "#adv",
        ".dplayer-menu-show",
        "#HMCOVER_ID1",
        ".dplayer-notice",
        ".dplayer-menu-show",
        ".dplayer-danmaku",
        ".dplayer-menu"
    ];
    for(let i =0;i<blackdoms.length;i++){
        let selector = blackdoms[i];
        let dom = document.querySelector(selector);
        if(dom){
            dom.remove();
        }
    }
};
removeAllAdvDom();
setInterval(()=>{
    removeAllAdvDom();
},1000);